package com.lanou3g.k12.service.impl;

import com.lanou3g.k12.entity.EventContent;
import com.lanou3g.k12.mapper.EventContentMapper;
import com.lanou3g.k12.service.EventContentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class EventContentServiceImpl implements EventContentService {
    @Autowired
    private EventContentMapper eventContentMapper;

    @Override
    public void addEventContent(EventContent eventContent) {
        eventContentMapper.addEventContent(eventContent);
    }

    @Override
    public void deleteEventContentById(Long id) {
        eventContentMapper.deleteEventContentById(id);
    }
}
